@zenloopgmbh/eslint-config-base
This config configures all recommended Eslint rules by Zenloop.
Installation
npm i -D @zenloopgmbh/eslint-config-base
Usage
In eslintrc.js
file add:
{
"extends": [
"@zenloopgmbh/base"
]
}
Development
To update Eslint and the rules:
-
Update eslint package to the latest (peerDependency and devDependency)
-
Run npm test
inside of the package directory.
-
Apply missing rules and remove deprecated ones.
-
Go to https://eslint.org/docs/rules/ and verify that each category has it's own file in /lib
directory.
-
In case of the category is missing a file, first add a new test and then create a file with new rules.